Skip to content

Refactor build structure and add noble.#126

Merged
guzzijones merged 6 commits intoStackStorm:masterfrom
nzlosh:refactor
Mar 27, 2026
Merged

Refactor build structure and add noble.#126
guzzijones merged 6 commits intoStackStorm:masterfrom
nzlosh:refactor

Conversation

@nzlosh
Copy link
Contributor

@nzlosh nzlosh commented Mar 10, 2026

This PR is quite large, so it'll be easier to understand what has changed by reviewing commit by commit.

@nzlosh nzlosh marked this pull request as ready for review March 10, 2026 20:21
build_image Outdated

function bootstrap_docker()
{
usdo apt-get update --quiet --quiet
Copy link

@skiedude skiedude Mar 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. usdo > sudo
  2. Do we need --quiet twice?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I don't know about the double quiet, it was a copy paste from an existing command. I'm fine setting to a single quiet, it's a convenience function to install docker.

cd st2packaging-dockerfiles/packagingbuild/focal
docker build -t stackstorm/packagingbuild:focal .
# ./build_image
Usage ./build_image <bootstrap|build [distro]>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably worth mentioning what OS this build_image works on, as it looks to be deb only, I couldn't run this on my mac

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ./build_image build jammy command should work on any *nix distro that has docker installed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added a note about bootstrap only supporting Ubuntu.

Copy link

@skiedude skiedude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, once this is merged I can add the rocky10 packages

@nzlosh nzlosh requested a review from a team March 17, 2026 17:49
@guzzijones guzzijones merged commit 62036bb into StackStorm:master Mar 27, 2026
1 check passed
@nzlosh nzlosh deleted the refactor branch March 27, 2026 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants